package com.meilingcloud.biobank.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.meilingcloud.biobank.domain.Family;
import com.meilingcloud.biobank.domain.FamilySource;

import java.util.List;

/**
 * 家系 Service接口
 *
 * @author chenl
 * @date 2021-06-22
 */
public interface IFamilyService extends IService<Family> {

    /**
     * 查询列表
     */
    List<Family> queryList(Family family);

    /**
     * 获取家系图谱
     */
    FamilySource getFamilyMap(Long familyId);
}
